import axios from 'axios';

export default function ({ url = '', data = {}, methods = 'POST' }) {
	methods = methods.toLowerCase();
	let config = {};
	return axios[methods](url, data, config)
}
